/*
 * vmchk.c
 */

#include <stdio.h>
#include "vmbdoor.h"

int main()
{
   	int version = VMGetVersion();
   
   	if (version) {
      	printf("Running inside VMware (version %lu).\n", version);
   }
   else {
		printf("Not running inside VMware.\n");
   } 
   
   return version;
}
/* end of file */
